Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added default protocol for buildUrl method #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mpurusottamc
Copy link

if the protocol is not passed in options, the generated url from buildUrl does not contain any protocol. This checkin assigns a default protocol (https) in the buildUrl method.

@ForbesLindesay
Copy link
Member

I'm no longer using/maintaining this library. If you would like to take over maintaining this library, let me know what your npm user name is and I'll add you as an owner on npm so you can publish new versions.

For this specific issue, not having a default protocol is fine. It currently defaults to using protocol relative URLs, so if you use those URLs in the browser, it will select either the https version or the http version depending on whether the current page was served over https.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants